{extend name="personcentor/Minformation"}
{block name="head"}
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>乐在自由，途我自在</title>
    <link href="/static/index/business/css/admin.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/amazeui.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/personal.css" rel="stylesheet" type="text/css">
    <link href="/static/index/business/css/cmstyle.css" rel="stylesheet" type="text/css">
    <script src="/static/index/business/js/jquery.min.js"></script>
    <script src="/static/index/business/js/amazeui.js"></script>

    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    {js href="/static/index/imgUp/js/index.js"}

    {load href="/static/index/css/bootstrap.min.css"}
    {load href="/static/index/css/footer.css"}

</head>
{/block}

{block name="main"}
<div class="col-main">
    <div class="main-wrap">
        <div style="float:right;margin-right: 15px;"><h4><a href="/">首页</a></h4></div>
        <div class="user-comment">
            <!--标题 -->
            <div class="am-cf am-padding">
                <div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">评价管理</strong> / <small>Manage&nbsp;Comment</small></div>
            </div>
            <hr/>

            <div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

                <ul class="am-avg-sm-2 am-tabs-nav am-nav am-nav-tabs">
                    <li class="am-active"><a href="#tab1">所有评价</a></li>
                    <li><a href="#tab2">有图评价</a></li>

                </ul>

                <div class="am-tabs-bd">
                    <div class="am-tab-panel am-fade am-in am-active" id="tab1">

                        <div class="comment-main">
                            <div class="comment-list">
                                {volist name="order" id="vo"}
                                <ul class="item-list">
                                    <div class="comment-top">
                                        <div class="row">
                                            <div class="col-md-1"></div>
                                            <div class="col-md-3">

                                                <div class="th th-price">
                                                    <td class="td-inner">评价</td>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4"></div>
                                        <div class="th th-item">
                                            <td class="td-inner">商品</td>
                                        </div>
                                    </div>

                                    <li class="td td-item">
                                        <div class="item-pic">
                                            <a href="#" class="J_MakePoint">
                                                <img src="/uploads/housepic/{:str_replace('\','/',$vo['house_pic'])}" class="itempic">
                                            </a>
                                        </div>
                                    </li>
                                    <li class="td td-comment">
                                        <div class="item-title">
                                            <div class="item-opinion">好评</div>
                                            <div class="item-name">
                                                <a href="#">
                                                    <p class="item-basic-info">{$vo.house_name}</p>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="item-comment">
                                            {$vo.commentinfo}
                                        </div>

                                        <div class="item-info">
                                            <div>
                                                <p class="info-little"><span>预订人：{$vo.input_person_name}</span> <span>地址:{$vo.house_address}</span> </p>
                                                <p class="info-time">2015-12-24</p>

                                            </div>
                                        </div>
                                    </li>
                                </ul>
                                {/volist}


                            </div>

                        </div>

                    </div>
                    <div class="am-tab-panel am-fade" id="tab2">

                        <div class="comment-main">
                            <div class="comment-list">
                                {volist name="order" id="v"}
                                <ul class="item-list">


                                    <div class="comment-top">
                                        <div class="row">
                                        <div class="col-md-1"></div>
                                        <div class="col-md-3">

                                            <div class="th th-price">
                                                <td class="td-inner">评价</td>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-4"></div>
                                    <div class="th th-item">
                                        <td class="td-inner">商品</td>
                                    </div>
                                    </div>
                                    <li class="td td-item">
                                        <div class="item-pic">
                                            <a href="#" class="J_MakePoint">
                                                <img src="/uploads/housepic/{:str_replace('\','/',$v['house_pic'])}" class="itempic">
                                            </a>
                                        </div>
                                    </li>

                                    <li class="td td-comment">
                                        <div class="item-title">
                                            <div class="item-opinion">好评</div>
                                            <div class="item-name">
                                                <a href="#">
                                                    <p class="item-basic-info">{$v.house_name}</p>
                                                </a>
                                            </div>
                                        </div>
                                        <div class="item-comment">
                                            {$v.commentinfo}
                                           {if $v.image==null }
                                            <div class="filePic"><img src="static/assets/images/gallery/thumb-4.jpg"></div>
                                            {else/}
                                            <div class="filePic"><img src="/uploads/comment/{:str_replace('\','/',$v['image'])}" alt=""></div>
                                            {/if}

                                        </div>

                                        <div class="item-info">
                                            <div>
                                                <p class="info-little"><span><span>预订人：{$v.input_person_name}</span> <span>地址:{$v.house_address}</span> </p>
                                                <p class="info-time">2015-12-24</p>

                                            </div>
                                        </div>
                                    </li>

                                </ul>
                                {/volist}

                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}